package com.linzm.behavioraltype.visitor12;

import com.linzm.behavioraltype.visitor12.computer.Computer;
import com.linzm.behavioraltype.visitor12.computer.ComputerPart;

/**
 * @Author zimingl
 * @Date 2023/4/16 14:14
 * @Description: VisitorPatternDemo
 */
public class VisitorPatternDemo {
    public static void main(String[] args) {
        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
